<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="/common/include.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${applicationScope.sysConfig.applicationName}</title>
<jsp:include page="../../common/head.jsp"></jsp:include>
<script type=text/javascript>
	function getClipboard()
	{
		xjCommon.getDataFromClipboard("receiveData");
	}
	function receiveData(data){
		_d(data);
		$("#b").val(data);
	}
	
</script>
</head>

<body>
<table width="200" border="1">
  <tr>
    <td><input id='a' name='a' type='text'value='good' /></td>
    <td><input name="" type="button" value='复制' onclick="xjCommon.setDataToClipboard(a.value)"/></td>
  </tr>
  <tr>
    <td><input id='b' name='b' type='text'value='' /></td>
    <td><input name="" type="button" value='读取' onclick="getClipboard()"/></td>
  </tr>
</table> 
</body>
</html>
